ubuntu下配置mtk flash tools 您所在的位置:网站首页 mtk刷机报错status err ubuntu下配置mtk flash tools

ubuntu下配置mtk flash tools

2023-07-21 00:42| 来源: 网络整理| 查看: 265

文章目录 背景ubuntu20.04 flash_tool 打开报错解决(libpng12.so)工具下载地址报错内容解决方案

背景

在ubuntu下配置mtk flash tool不能下载

ubuntu20.04 flash_tool 打开报错解决(libpng12.so)

./flash_tool: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

添加对应的源解决即可

sudo add-apt-repository ppa:linuxuprising/libpng12 sudo apt update sudo apt install libpng12-0 工具下载地址

自己搜到的网址,仅供参考:https://spflashtool.com/download/

报错内容

以下是我遇到的报错内容

USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0) USB port detected: /dev/ttyACM0 Connect BROM failed: STATUS_ERR Disconnect! BROM Exception! ( ERROR : STATUS_ERR (-1073676287) , MSP ERROE CODE : 0x00 解决方案 新增文件53-MTKinc.rules sudo gedit /etc/udev/rules.d/53-MTKinc.rules 在打开的文件中增加以下文本: SUBSYSTEM=="usb", SYSFS{idVendor}=="0e8d", MODE="0666" SUBSYSTEM=="usb", ATTR{idVendor}="0e8d", ATTR{idProduct}="201d", SYMLINK+="android_adb" KERNEL=="ttyACM*", MODE="0666"

PS:上面的idVendor和idProduct要使用lsusb命令根据自己的机器来获取,参考下面内容我的idProduct就是201d (注意在刷机模式下获取,开机下获取到的值是不同的)

hello@hello:~$ lsusb Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:8008 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 106: ID 0e8d:201d MediaTek Inc. Bus 003 Device 066: ID 04ca:00a8 Lite-On Technology Corp. Bus 003 Device 003: ID 1a81:2039 Holtek Semiconductor, Inc. Bus 003 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 完成保存后,增加权限并restart sudo chmod a+rx /etc/udev/rules.d/53-MTKinc.rules sudo /etc/init.d/udev restart

重新打开软件刷机即可。

参考文章



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有